package com.Iconcat.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@TableName("cat_prize")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="奖品对象", description="奖品信息")
public class CatPrize {
    @TableId(value = "prize_id", type = IdType.AUTO)
    @ApiModelProperty(value = "奖品ID")
    private Long prizeId;
    @ApiModelProperty(value = "奖品名")
    private String prizeName;
    @ApiModelProperty(value = "奖品类型")
    private String prizeType;
    @ApiModelProperty(value = "奖品生成号")
    private BigDecimal prize_value;
    @ApiModelProperty(value = "权重")
    private Integer weight;


}
